package com.example.mongodb.repository;

import com.example.mongodb.entity.DishesInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author : zhayh
 * @Date : 2021-5-16 19:32
 * @Description:
 */
@Repository
public interface DishesInfoRepository extends JpaRepository<DishesInfo, Long> {
    List<DishesInfo> findByRestaurantInfoId(Long restaurantId);
}
